check for openat2
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 24 Feb 2026 07:19:30 +0000 (10:19 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 27 Feb 2026 10:11:48 +0000 (13:11 +0300)
Gbp-Pq: Name check-for-openat2.patch

lib/replace/wscript

index 58f1f794726463a415675333a2d13eeafcebf2ab..a380a9aca785f782973c04512350d450782b1f2c 100644 (file)
@@ -423,6 +423,7 @@ def configure(conf):
     conf.CHECK_FUNCS('asprintf vasprintf setenv unsetenv strnlen strtoull __strtoull')
     conf.CHECK_FUNCS('strtouq strtoll __strtoll strtoq memalign posix_memalign')
     conf.CHECK_FUNCS('fmemopen renameat2')
+    conf.CHECK_FUNCS('openat2')
 
     if conf.CONFIG_SET('HAVE_MEMALIGN'):
         conf.CHECK_DECLS('memalign', headers='malloc.h')